<!DOCTYPE <!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>表单属性 Test</title>
</head>

<body>

    <form action="test.php" autocomplete="on" novalidate>
        姓: <input type="text" name="lname" autofocus><br> 
        名: <input type="text" name="fname"><br> 
        邮箱: <input type="email" name="email" autocomplete="off"><br>
        <input type="submit">
    </form>

</body>

</html>